<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::info Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="classpng_1_1info.html">info</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">png::info Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::info" --><!-- doxytag: inherits="png::info_base,png::image_info" -->
<p>Holds information about PNG image. Adapter class for IO image operations.  
 <a href="classpng_1_1info.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="info_8hpp_source.html">info.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for png::info:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpng_1_1info.png" usemap="#png::info_map" alt=""/>
  <map id="png::info_map" name="png::info_map">
<area href="classpng_1_1info__base.html" title="Internal class to hold PNG info or end_info." alt="png::info_base" shape="rect" coords="0,0,100,24"/>
<area href="classpng_1_1image__info.html" title="Holds information about PNG image." alt="png::image_info" shape="rect" coords="110,0,210,24"/>
</map>
 </div></div>

<p><a href="classpng_1_1info-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1info.html#a6de7c51766261018632d21405e3a2563">info</a> (<a class="el" href="classpng_1_1io__base.html">io_base</a> &amp;io, png_struct *png)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1info.html#a8788080158fc7450911516c23d4b584c">read</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1info.html#a863333fbef670b244920022d1a0ee210">write</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1info.html#a544c5e25c4211ef33976e3ac2b2ea020">update</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1info.html#a76309c30eb25d8242ae039a2e80bb1d3">sync_ihdr</a> (void) const </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Holds information about PNG image. Adapter class for IO image operations. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6de7c51766261018632d21405e3a2563"></a><!-- doxytag: member="png::info::info" ref="a6de7c51766261018632d21405e3a2563" args="(io_base &amp;io, png_struct *png)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1info.html#a6de7c51766261018632d21405e3a2563">png::info::info</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1io__base.html">io_base</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">png_struct *&#160;</td>
          <td class="paramname"><em>png</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8788080158fc7450911516c23d4b584c"></a><!-- doxytag: member="png::info::read" ref="a8788080158fc7450911516c23d4b584c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1info.html#a8788080158fc7450911516c23d4b584c">png::info::read</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="namespacepng.html#a93bd423c4b470bcea62b3664e835ec87ab9358a8acd5c721d678807e639761a09">png::chunk_PLTE</a>, <a class="el" href="namespacepng.html#a93bd423c4b470bcea62b3664e835ec87aef2ac03a3d930bb1701988dae298a1af">png::chunk_tRNS</a>, <a class="el" href="namespacepng.html#a4f30149e7da9c8d70e84e6977a7f74daa11ca0096a8c002514f3ba1599a42d407">png::color_type_palette</a>, <a class="el" href="classpng_1_1image__info.html#a09d04b19ad511e5f4249e9dfa0e62efa">png::image_info::m_bit_depth</a>, <a class="el" href="classpng_1_1image__info.html#a196348cce026bf93062a80eff78958e7">png::image_info::m_color_type</a>, <a class="el" href="classpng_1_1image__info.html#aace206556a5c185a86542702b72a45dc">png::image_info::m_compression_type</a>, <a class="el" href="classpng_1_1image__info.html#aaa7afab91bfab66e0daa966695d40967">png::image_info::m_filter_type</a>, <a class="el" href="classpng_1_1image__info.html#ad36dc08da3efe4e26322e3c8eb55adfc">png::image_info::m_height</a>, <a class="el" href="classpng_1_1info__base.html#a55a07d9e2ff9660850e5a1c9156e076a">png::info_base::m_info</a>, <a class="el" href="classpng_1_1image__info.html#a988c3d5bfead5238afa04a1061e0f04a">png::image_info::m_interlace_type</a>, <a class="el" href="classpng_1_1image__info.html#a1fb1b97e0f153d8203aa79d667b488c8">png::image_info::m_palette</a>, <a class="el" href="classpng_1_1info__base.html#ab2052faecb79f17e2b0bb697e0cbbb46">png::info_base::m_png</a>, <a class="el" href="classpng_1_1image__info.html#ae16512ad01beea645e75e0edd60f0720">png::image_info::m_tRNS</a>, and <a class="el" href="classpng_1_1image__info.html#a4acee97cd5ab36c631099e788ffdf08c">png::image_info::m_width</a>.</p>

<p>Referenced by <a class="el" href="classpng_1_1reader.html#a5dc827c5e9a113f8821c1ff08b2ab111">png::reader&lt; istream &gt;::read_info()</a>.</p>

</div>
</div>
<a class="anchor" id="a863333fbef670b244920022d1a0ee210"></a><!-- doxytag: member="png::info::write" ref="a863333fbef670b244920022d1a0ee210" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1info.html#a863333fbef670b244920022d1a0ee210">png::info::write</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="namespacepng.html#a4f30149e7da9c8d70e84e6977a7f74daa11ca0096a8c002514f3ba1599a42d407">png::color_type_palette</a>, <a class="el" href="classpng_1_1image__info.html#a196348cce026bf93062a80eff78958e7">png::image_info::m_color_type</a>, <a class="el" href="classpng_1_1info__base.html#a55a07d9e2ff9660850e5a1c9156e076a">png::info_base::m_info</a>, <a class="el" href="classpng_1_1image__info.html#a1fb1b97e0f153d8203aa79d667b488c8">png::image_info::m_palette</a>, <a class="el" href="classpng_1_1info__base.html#ab2052faecb79f17e2b0bb697e0cbbb46">png::info_base::m_png</a>, <a class="el" href="classpng_1_1image__info.html#ae16512ad01beea645e75e0edd60f0720">png::image_info::m_tRNS</a>, and <a class="el" href="classpng_1_1info.html#a76309c30eb25d8242ae039a2e80bb1d3">sync_ihdr()</a>.</p>

<p>Referenced by <a class="el" href="classpng_1_1writer.html#a36bc62c0fe6d99dcec439fde2d54228c">png::writer&lt; ostream &gt;::write_info()</a>.</p>

</div>
</div>
<a class="anchor" id="a544c5e25c4211ef33976e3ac2b2ea020"></a><!-- doxytag: member="png::info::update" ref="a544c5e25c4211ef33976e3ac2b2ea020" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1info.html#a544c5e25c4211ef33976e3ac2b2ea020">png::info::update</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classpng_1_1info__base.html#a55a07d9e2ff9660850e5a1c9156e076a">png::info_base::m_info</a>, <a class="el" href="classpng_1_1info__base.html#ab2052faecb79f17e2b0bb697e0cbbb46">png::info_base::m_png</a>, and <a class="el" href="classpng_1_1info.html#a76309c30eb25d8242ae039a2e80bb1d3">sync_ihdr()</a>.</p>

<p>Referenced by <a class="el" href="classpng_1_1reader.html#ae38d4ce06488e1addb6e5ff0c8e54a58">png::reader&lt; istream &gt;::update_info()</a>.</p>

</div>
</div>
<a class="anchor" id="a76309c30eb25d8242ae039a2e80bb1d3"></a><!-- doxytag: member="png::info::sync_ihdr" ref="a76309c30eb25d8242ae039a2e80bb1d3" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1info.html#a76309c30eb25d8242ae039a2e80bb1d3">png::info::sync_ihdr</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classpng_1_1image__info.html#a09d04b19ad511e5f4249e9dfa0e62efa">png::image_info::m_bit_depth</a>, <a class="el" href="classpng_1_1image__info.html#a196348cce026bf93062a80eff78958e7">png::image_info::m_color_type</a>, <a class="el" href="classpng_1_1image__info.html#aace206556a5c185a86542702b72a45dc">png::image_info::m_compression_type</a>, <a class="el" href="classpng_1_1image__info.html#aaa7afab91bfab66e0daa966695d40967">png::image_info::m_filter_type</a>, <a class="el" href="classpng_1_1image__info.html#ad36dc08da3efe4e26322e3c8eb55adfc">png::image_info::m_height</a>, <a class="el" href="classpng_1_1info__base.html#a55a07d9e2ff9660850e5a1c9156e076a">png::info_base::m_info</a>, <a class="el" href="classpng_1_1image__info.html#a988c3d5bfead5238afa04a1061e0f04a">png::image_info::m_interlace_type</a>, <a class="el" href="classpng_1_1info__base.html#ab2052faecb79f17e2b0bb697e0cbbb46">png::info_base::m_png</a>, and <a class="el" href="classpng_1_1image__info.html#a4acee97cd5ab36c631099e788ffdf08c">png::image_info::m_width</a>.</p>

<p>Referenced by <a class="el" href="classpng_1_1info.html#a544c5e25c4211ef33976e3ac2b2ea020">update()</a>, and <a class="el" href="classpng_1_1info.html#a863333fbef670b244920022d1a0ee210">write()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="info_8hpp_source.html">info.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
